<?php
/**
* Propose an album size folder.
*/
function smarty_modifier_propose($album_id=0, $size_id=0)
{
	$album_id = (int)$album_id;
	$size_id = (int)$size_id;
	
	if($size_id != THUMBNAIL_ORIGINAL_SIZE_ID)
	{
		$path = FTPPATH_THUMBNAILS."/{$album_id}/{$size_id}";
	}
	else
	{
		# Originally scanned size ID
		# This should match with the Album folder
		$albums = new albums();
		$path = $albums->folder_path($album_id, '');
	}
	return $path;
}
?>